<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let arr = [
        {
          入职日期: 43678,
          姓名: "高大山",
          工号: 20089,
          手机号: 13041131879,
          转正日期: 43678,
        },
        {
          入职日期: 43780,
          姓名: "章三",
          工号: 20090,
          手机号: 13041131880,
          转正日期: 43780,
        },
        {
          入职日期: 43600,
          姓名: "李四",
          工号: 20091,
          手机号: 13041131881,
          转正日期: 43600,
        },
        {
          入职日期: 43578,
          姓名: "王武",
          工号: 20092,
          手机号: 13041131882,
          转正日期: 43578,
        }
      ];
      let newber = []

      
      for(let i = 0 ;i < arr.length; i++){
        let obj = {}
        obj['timeOfEntry'] = arr[i].入职日期
        obj['username'] = arr[i].姓名
        obj['workNumber'] = arr[i].工号
        obj['手机号'] = arr[i].手机号
        obj['correctionTime'] = arr[i].转正日期
        newber.push(obj)
      }
      console.log(newber);
    
    </script>
  </body>
</html>
